package com.etc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.etc.service.HelloService1;

@RestController
public class RibbonRestController2 {
	@Autowired
	HelloService1 service;
	
	@GetMapping("hi1")
	public String test(String name) {
		return service.hiService(name);
	}
}
